OBJECT.RIGHTCLICK Function
Syntax
Arguments
- obj
A pointer to a form, browse, or child object on a form or browse.
- region
Character
- Context
- Description
- Form
Specifies V4 compatibility for a form. .T. = If user right clicks on a Locked Field, and no right-click menu is defined for that field and if a right-click menu is defined for the form, then the right-click menu for the form is used. .F. = Iif user right clicks on a Locked Field, and no right-click menu is defined for that field. 'then system Field Lock menu is show, regardless of whether a right-click menu is defined for the form.
- Browse
Specifies the region selected for a browse. "row" = Row selected "column" = Column selected
Description
Displays the right click menu for the selected object.
The <OBJECT>.RIGHTCLICK() method applies to:
- Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
- Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)
The <OBJECT>.RIGHTCLICK() method displays the Right Click menu for the selected object.
Example
The following example displays a right click menu.
dim ptr as P dim pchild as P ptr = form.load("Travel Time") pchild = ptr.child("ThisWeather") ? ptr.rightclick(pchild, "")
Limitations
Desktop applications only.
See Also